package org.deltaset.meta.extension.simple;

import org.deltaset.meta.internal.MetaClassBuilder;
import org.deltaset.meta.internal.MetaClassImpl;

/**
 *
 * @author dmakariev
 */
public class SimpleLoaderImpl {

    public MetaClassImpl loadMetaClass(final Class domainClass) {
        final boolean isPrimitive = ReflectionUtils.isPrimitiveType(domainClass);
        if (isPrimitive) {
            return MetaClassBuilder.primitive(domainClass, new ClassDetail());
        }
        throw new UnsupportedOperationException("not yet supported");
    }
}
